package com.zyn.java.demo1.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zhangyanan
 * @description
 * @date 2017/10/28 0028 15:16
 */
@FeignClient("demo2")
public interface TestClient {
    @GetMapping("/hello")
    String say(@RequestParam("name") String name);
}
